*** Settings ***
Documentation       通过ipmi接口设置IPMC配置参数
Resource            ../../test_function/ipmi/ipmi.robot
Library             OperatingSystem
Library             BuiltIn

Test Tags           Ipmi_Ipmc_Parameter

*** Variables ***
${input}                    raw 0x30 0x93 0xdb 0x07 0x00 0x05 0x01 0x00 0x00 0x06 0x68 0x75 0x61 0x77 0x65 0x69
${expected_rc}              ${0}
${expected_output}          db 07 00


*** Test Cases ***
Set IPMI SMBIOS EXTENSION FIELD
    [Documentation]    带认证的IPMI的设置IPMC配置参数
    [Tags]  Set_Ipmc_Parameter_IPMI
    ${rc}    ${output}=  Run External Ipmi Command    ${input}
    Log    Command Output: ${output}
    Should Be Equal    ${rc}    ${expected_rc}    msg=${output}
    Should Contain    ${output}    ${expected_output}


